package cn.whitecao;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Component
//@Configuration
public class DeviceDao {
	@Autowired
	MyBeanFactoryPostProcessor myBeanFactoryPostProcessor;
	@Autowired
	private VipUserDao vipUserDao;
	public DeviceDao() {
		System.out.println("init Device");
	}

	@PostConstruct
	public void MyCallBack(){
		System.out.println(" MyCallBack ");
	}
	public void myMethod(){
		System.out.println(myBeanFactoryPostProcessor);
	}
}
